<template>
    <div>
        <p>昵称：<input  v-model="name"></p>
        <p>标题：<input  v-model="title"></p>
        <p>时间：<input  v-model="time"></p>
        <p>内容：<input  v-model="con"></p>
    </div>
</template>

<script>
export default {
    props:["name","title","time","con"],    
  data(){
    return {
        
    }
  }
}
</script>

<style scoped lang="scss">
    div{
        margin: 10px 0;
        padding: 0 10px;
        border: 1px solid red;
        input{
            outline: none;
            border: none;
            border-bottom: 1px solid #ccc;
            padding: 10px;
        }
    }
</style>
